<center>
<?php
	foreach ($this -> listerrepertoire["lettre"] as $ligne)
	{
		?><a href = <?php echo $this -> url(array('controller' => 'repertoire', 'action' => 'listervip', 'lettre' => $ligne -> lettre)); ?>><?php echo $ligne -> lettre; ?><a/><?php
		echo "&nbsp;&nbsp;";	
	}
?>
<br /><br />


<?php
	if($this->listerrepertoire['vips']!=null)
	{
		echo "<br>";
		foreach($this->listerrepertoire['vips'] as $ligne)
		{
			echo "<div style=\"float:left;\">";
			$tablePhotos = new Table_Photos();
            $photo = $tablePhotos->getPhotoPrincipale($ligne->VIP_NUMERO);
			?>
			<img height = "140px" src="/images/<?php echo "$photo->PHOTO_ADRESSE"; ?>"   /><br>
			
			<a href="<?php echo $this->url(array('controller'=>'repertoire',
								'action'=>'listerrepertoire',
								'idVip'=>$ligne->VIP_NUMERO));?>"><?php echo $ligne->VIP_PRENOM." ". $ligne->VIP_NOM; ?></a>
			<?php
			echo "</div>";
		}
	}
?>

<?php
?>

</center>

